﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ExtensionsAPI;
using ExtensionsAPI.NetworkAPI;

namespace BleQua.Shared.Models {
	public class AccountModel : IAccount {
		private DataEntities.Account account;

		public AccountModel(DataEntities.Account account, IEnumerable<INetworkExtension> networkExtensionCollection) {
			// TODO: Complete member initialization
			this.account = account;

			this.Identifier = account.id;
			this.Password = account.password;
			this.PluginServer = account.network;
		}

		public string Identifier { get; set; }

		public string UniqueIdentifier { get; private set; }

		public string Format { get; private set; }

		public string PluginServer { get; private set; }

		public string Password { get; set; }

		public INetworkExtension PluginInstance { get; set; }
	}
}
